package com.excel.easyExcel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigInteger;

/**
 * @author Xinjie
 * @date 2023/4/25 11:45
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("goods_number")
    private BigInteger goodsNumber;
    @TableField("to_city")
    private String toCity;
    @TableField("timestamp")
    private Long timestamp;
}
